@extends('home.search.layout')
@section('content')

		<div class="list_resulte_banner">
			<div class="list_resulte_left">
				<span class="list_breadcrumb">奇异果为您找到{{$count}}个相关视频</span>

				 <div class="list_cont_right lisst_cont_zb">
                	<ul>
						@if($archives)
							@foreach($archives as $v)
                		<li>
                			<a href="{{route('video.show', [$v->id])}}" target="_blank">
                			    <div class="list_pic_box">
                			    	<div class="list_pic">
                			    		<img src="{{route('image', [trim($v->cover, '/'), '266x146'])}}">
                			    	</div>
                			    	<div class="list_pic_cont">              			    
                			    		<h2 title="{{$v->title}}">{!!str_replace($key,"<em>".$key."</em>",$v->title)  !!}</h2>
                			    		<p>
                			    		<span class="list_name">{{$v->user->nickname}}</span>
                			    		<span class="list_fs">{{$v->visit_count}}</span>
                			    		</p>
                			    	</div>
                			    </div>
                		    </a>
                		</li>
							@endforeach
						@endif
                	             
                	</ul>
                </div>
				<!--分页-->
				<div class="index_page page_center">
					<div class="global_page">
						{{$archives->links()}}
					</div>
				</div>
                <!--分页-->
			</div>			
		</div>

@endsection